package cn.bj.yu.single;

/**
 * @author 周宇
 * @create 2020-08-16 2:43
 * 饿汉式
 */
public class Hungry {
    private Hungry() {
    }

    private final static Hungry hungry = new Hungry();

    public static Hungry getInstance() {
        return hungry;
    }
}